#ifndef DOCMANAGE_H
#define DOCMANAGE_H

#include <QWidget>
//#include <cadresearch.h>

namespace Ui {
class DocManage;
}

class DocManage : public QWidget
{
    Q_OBJECT

public:
    explicit DocManage(QWidget *parent = 0);
    ~DocManage();
    void initTableWidget();
    void SwapTwoRow(int selectRow, int targetRow);
    QString saveHtmlToPDF(QString fileName);

signals:
    void findCadre();

private slots: 
    void on_buttonAdd_clicked();

    void on_buttonDelete_clicked();

    void on_buttonUp_clicked();

    void on_buttonDown_clicked();

    void on_buttonOut_clicked();

    void on_buttonChange_clicked();

    void dealRecvNum(QString num);

//    void chooseFile();
//    void addFile();

    void on_buttonPrint_clicked();

private:
    Ui::DocManage *ui;
    //CadreSearch cadSearch;
};

#endif // DOCMANAGE_H
